package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@ApiModel(value = "DeviceStepDto", description = "每日步数")
public class DeviceStepDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "设备ID")
    private Long deviceId;

    @ApiModelProperty(value = "总步数")
    private Integer totalSteps;

    @ApiModelProperty(value = "yyyyMMdd")
    private String time;

    @ApiModelProperty(value = "数据来源 0设备,1:app")
    private Integer type;

    @ApiModelProperty(value = "序列号")
    private String number;

    @ApiModelProperty(value = "步数详细详细")
    private List<DeviceStepInfo> stepInfos;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getTotalSteps() {
        return totalSteps;
    }

    public void setTotalSteps(Integer totalSteps) {
        this.totalSteps = totalSteps;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public List<DeviceStepInfo> getStepInfos() {
        return stepInfos;
    }

    public void setStepInfos(List<DeviceStepInfo> stepInfos) {
        this.stepInfos = stepInfos;
    }

    @Override
    public String toString() {
        return "DeviceStepDto{" +
                "id=" + id +
                ", deviceId=" + deviceId +
                ", totalSteps=" + totalSteps +
                ", time=" + time +
                ", type=" + type +
                ", number='" + number + '\'' +
                ", stepInfos=" + stepInfos +
                '}';
    }
}
